package com.qfmy.service.novel;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 清风明月
 * @Package com.qfmy.service.novel
 * @date 2025/6/11
 * @description 文件操作
 */
@SuppressWarnings("all")
public interface FileService {

    /**
     * pdf转word
     *
     * @param file
     * @return
     */
    ResponseEntity<byte[]> pdfToWord(MultipartFile file);

    /**
     * pdf转txt
     *
     * @param file
     * @return
     */
    ResponseEntity<byte[]> pdfToText(MultipartFile file);

    /**
     * pdf转excel
     *
     * @param file
     * @return
     */
    ResponseEntity<byte[]> pdfToExcel(MultipartFile file);
}
